fix(io): platform-detection helpers + tiebreak (shared base)#64
Conversation
Add the small shared building blocks used by the CosMX/MERSCOPE readers: column/schema resolution helpers (_lazyframe_column_names, _first_existing), boundary-index + empty-boundaries helpers, assignment-id cleaning, and a directory/schema-based _platform_tiebreak wired into _infer_platform so an ambiguous directory resolves instead of erroring. No behavior change for unambiguous Xenium dirs. Base for bugfix/read-cosmx and bugfix/read-merscope.
|
Notes on all the data-reader PRs (#60, #63, #64): could we pack these into a new branch for now, so people can use them when needed already? I think we should re-evaluate how to support IO. Open for discussion, what are your thoughts on the following: |
Add the small shared building blocks used by the CosMX/MERSCOPE readers: column/schema resolution helpers (_lazyframe_column_names, _first_existing), boundary-index + empty-boundaries helpers, assignment-id cleaning, and a directory/schema-based _platform_tiebreak wired into _infer_platform so an ambiguous directory resolves instead of erroring. No behavior change for unambiguous Xenium dirs. Base for bugfix/read-cosmx and bugfix/read-merscope.